/**
 * 定义各种默认展示数据
 * 目的是在接口返回数据之前能在页面中有值，而不是显示空白
 */

import type {Category} from '@/types/category'
import type {Address} from '@/types/cart'

// 一级分类默认数据
export const cateList: Category[] = [
  {id: '0', name: '居家'},
  {id: '1', name: '美食'},
  {id: '2', name: '服饰'},
  {id: '3', name: '母婴'},
  {id: '4', name: '个护'},
  {id: '5', name: '严选'},
  {id: '6', name: '数码'},
  {id: '7', name: '运动'},
  {id: '8', name: '杂项'}
]

export const cartAddress: Address[] = [
  {
    address: '12号',
    addressTags: '家',
    cityCode: '11',
    contact: '181818181111',
    countyCode: '1',
    fullLocation: '四川省广元市武都区12号',
    isDefault: 0,
    postalCode: '12',
    provinceCode: '33',
    receiver: '周杰伦'
  },
  {
    address: '12号',
    addressTags: '家',
    cityCode: '11',
    contact: '181818181111',
    countyCode: '1',
    fullLocation: '四川省广元市武都区12号',
    isDefault: 1,
    postalCode: '12',
    provinceCode: '33',
    receiver: '林俊杰'
  }
]